<%@page isELIgnored="false" pageEncoding="UTF-8" contentType="text/html; UTF-8" %>

<table id="usertables"></table>
<script type="text/javascript">
    $(function(){
            $('#usertables').datagrid({
                url:'${pageContext.request.contextPath}/user/queryAllUser',
                pagination : true,
                pageList : [ 5, 10, 15, 20 ],
                pageSize : 5,
                javaType:"JSON",
                columns:[[
                    {field:'userId',title:'用户id',width:100},
                    {field:'userTelphone',title:'用户电话',width:100},
                    {field:'userPassword',title:'用户密码',width:100,align:'right'},
                    {field:'userImage',title:'用户头像',width:100},
                    {field:'userNickname',title:'用户昵称',width:100},
                    {field:'userName',title:'用户名',width:100},
                    {field:'userSex',title:'用户性别',width:100},
                    {field:'userAutograph',title:'个性签名',width:100},
                    {field:'userProvince',title:'省份',width:100},
                ]]
            });
        }
    )
</script>